<!--{if $_FANWE['uid'] > 0}-->

<ul id="sysmenus" class="sysmenu">
  <li><a href="{u note1/addyouji}" class="regmenu no-icon">添加游记</a></li>
  <li><a href="{u note1/addlist}" class="regmenu no-icon">游记列表</a></li>
  <li><a href="javascript:void(0)" class="regmenu" onclick="$.User_Share()">添加<span class="plus-icon"></span></a></li>
  <li id="user_nav"> <a href="{u u/album}" class="regmenu"> <img src="{avatar $_FANWE['uid'] s 1}" width="22" height="22">{$_FANWE['user_name']}<span></span> </a>
    <ul>
      <li><a href="{u u/album}">{lang common/album}</a></li>
      <li><a href="{u u/talk uid=$_FANWE['uid']}">采集</a></li>
      <li><a href="{u u/fav uid=$_FANWE['uid']}">喜欢</a></li>
      <li><a href="{u u/message uid=$_FANWE['uid']}">私信</a></li>
      <li class="divider"><a href="{u u/fans uid=$_FANWE['uid']}">我的粉丝</a></li>
      <li><a href="{u u/follow uid=$_FANWE['uid']}">我的关注</a></li>
      <li><a href="{u u/friends uid=$_FANWE['uid']}">双向关注</a></li>
      <li class="divider"><a href="{u invite/index}">邀请&amp;查找好友</a></li>
      <li class="divider"><a href="{u settings/personal}">帐号设置</a></li>
      <li><a href="{u user/logout}">退出登录</a></li>
    </ul>
  </li>
</ul>
<!--{else}-->
<div class="new-login"> <a href="{u about/index}" class="newlogin-btn">关于{$_FANWE['setting']['site_name']}</a> <a href="{u user/login}" class="newlogin-btn newlogin-denglu">登录</a>
  {if ACTION_NAME == 'index'} 
      <div class="new-login-popup">
      	<div class="close-btn"></div>
        <div class="login-line1">
          <div style="color:white;background-color:#037fd5;">登录</div>
          <div><a href="/user.php?action=register" style=" color:#999999;">注册</a></div>
        </div>
        <div class="login-line2">
        	<form>
            	<div class="login-user"><input type="text" name=""></div>
                <div class="login-pwd"><input type="password" name=""></div>
                <div class="login-saveme">
                	<div style="float:left; color:#999;"><input type="checkbox" name="remember" class="checkbox" checked="checked" value="1209600" style="margin-right:5px;">记住密码</div><a href="/user.php?action=forgetpassword" style="color:#999999; float:right;">忘记密码？</a></div>
                <div class="login-btn"><input type="submit" value="登录" id="ajax_login_btn"></div>
            </form>
        </div>
      </div>
  {/if}
</div>
<!--{/if}--> 
<script>
		jQuery(function($){
			$(".close-btn").click(function(){
				$(".new-login-popup").hide();
			});
			$("#about").hover(function(){
				$(this).children("ul").show();
			},function(){
				$(this).children("ul").hide();
			});
			$("#user_nav").hover(function(){
				$(this).children("ul").show();
			},function(){
				$(this).children("ul").hide();
			});
		});
</script> 
